package com.javaclimb.filmbuy.dao;

import com.javaclimb.filmbuy.entity.AdvertiserInfo;
import com.javaclimb.filmbuy.entity.GoodsInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 公告信息dao层
 */
@Repository
public interface AdvertiserInfoDao extends Mapper<AdvertiserInfo> {
    /*根据公告标题查询列表*/
    List<AdvertiserInfoDao> findByName(@Param("name") String name);
}

